package com.lagou.edu.feign.fallback;

import com.lagou.edu.feign.CodeFeignClient;
import org.springframework.stereotype.Component;

@Component
public class CodeFallback implements CodeFeignClient {
    @Override
    public Integer validateCode(String email, String code) {
        //表示验证码错误
        return 1;
    }
}
